package com.foreveredu.furedusys.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.PrimaryKeyJoinColumn;
import javax.persistence.Table;

/**
 * 领域模型类：继续教育人员
 * 
 * @author hushigang
 * 
 */
@Entity
@Table(name = "trainee")
@PrimaryKeyJoinColumn(name = "user_id")
public class Trainee extends User implements Serializable {

	private static final long serialVersionUID = 1255949306660119691L;
	private String idCard;// 身份证
	private String accountCardNum;// 会计证号
	private String mobile;// 手机号码
	private String company;// 工作单位
	private String address;// 联系地址
	private String zipcode;// 邮政编码
	private String gender;// 性别

	@Column
	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	@Column
	public String getAccountCardNum() {
		return accountCardNum;
	}

	public void setAccountCardNum(String accountCardNum) {
		this.accountCardNum = accountCardNum;
	}

	@Column
	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	@Column
	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	@Column
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Column
	public String getZipcode() {
		return zipcode;
	}

	public void setZipcode(String zipcode) {
		this.zipcode = zipcode;
	}

	@Column
	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

}
